package com.lavegue.service.impl;

import java.util.List;

import com.lavegue.common.BaseService;
import com.lavegue.common.Page;
import com.lavegue.dao.BisGroupDao;
import com.lavegue.model.BisGroup;
import com.lavegue.service.BisGroupService;


/**
 * author: tianzhifen
 * date:2011-12-21
 * description:
 *
 */
public class BisGroupServiceImpl extends BaseService<BisGroup, Integer, BisGroupDao> implements BisGroupService {
	
	
	//根据分组名称查询
    public Page<BisGroup> getAllBisGroupByNameAndTypeId(int pageNo,int pageSize,String name,int typeId)
    {
  	  return this.getDao().getAllBisGroupByNameAndTypeId(pageNo,pageSize,name,typeId);
    }
 
    public List<BisGroup> findGroupsByType(int typeid) {
    	return this.getDao().findGroupByType(typeid);
    }
}

